AssetDefinition

data class AssetDefinition(val id: String, val label: Map<String, String>? = null, val tags: Map<String, List<String>>? = null, val groups: List<String>? = null, val meta: Map<String, String>? = null, val payload: AssetPayload = AssetPayload(), val credits: AssetCredits? = null, val license: AssetLicense? = null, val utm: AssetUTM? = null)

Constructors

Link copied to clipboard
constructor(id: String, label: Map<String, String>? = null, tags: Map<String, List<String>>? = null, groups: List<String>? = null, meta: Map<String, String>? = null, payload: AssetPayload = AssetPayload(), credits: AssetCredits? = null, license: AssetLicense? = null, utm: AssetUTM? = null)

Properties

Link copied to clipboard
val credits: AssetCredits? = null

Credits for the creator of the asset.

Link copied to clipboard
val groups: List<String>? = null

Groups of the asset.

Link copied to clipboard
val id: String

Uniquely identifying asset ID.

Link copied to clipboard
val label: Map<String, String>? = null

Localized label mapping of the asset where key is the locale. Used for description and tooltips.

Link copied to clipboard
val license: AssetLicense? = null

License for the asset. Overrides the asset source license if present.

Link copied to clipboard
val meta: Map<String, String>? = null

Asset-specific and custom meta information.

Link copied to clipboard

Structured information about the contained asset.

Link copied to clipboard
val tags: Map<String, List<String>>? = null

Localized tags mapping of the asset where key is the locale. Used for filtering by tag and free-text search.

Link copied to clipboard
val utm: AssetUTM? = null

UTM parameters for the links inside the credits.